<?php
/**
 * @package qBase
 * @subpackage inno
 *
 */

/**
 * QMapCM
 *
 * @package qBase
 * @subpackage inno
 */
class QMapCM extends QOverlayControl
{
	public static $DefaultMapCMApiKey = null;

	private $map_cm_api_key = null;

	// 0.3/web-maps-lite.js
	// latest/web-maps-lite.js";
	private static $MapCMApiUrl = "http://tile.cloudmade.com/wml/latest/web-maps-lite.js";

	public function init()
	{
		$this->addJs(self::$MapCMApiUrl, null, false);
		$this->setInnerContent("<div><!-- --></div>");
	}

	public function getMapCMApiKey()
	{
		return $this->map_cm_api_key;
	}

	public function setMapCMApiKey($key)
	{
		$this->map_cm_api_key = $key;
	}
}

?>